QuickOPC User's Guide and Reference
Generic Access to OPC-DA Items and Properties
Extensions > Layered Extensions for .NET > OPC Data Access Extensions > Generic Access to OPC-DA Items and Properties

Generic Access to OPC-DA Items

The EasyDAClient.ReadItem<T> extension method reads an OPC item of a given type T, and return the result as DAVtq<T> (typed value/timestamp/quality) object.

The EasyDAClient.ReadItemValue<T> extension method reads an OPC item of a given type T, and return the actual item’s value typed as T.

The EasyDAClient.WriteItem<T> extension method writes a typed value/timestamp/quality into an OPC item, using DAVtq<T> object.

The EasyDAClient.WriteItemValue<T> extension method writes a typed value of type T into an OPC item.

There are several overloads of all the above described methods, with different structure of arguments.

Generic Access to OPC-DA Properties

The EasyDAClient.GetPropertyValue<T> extension method gets a value of OPC property of a given type T, and return the actual value typed as T. There are several overloads of this method with different structure of arguments.

See Also